package com.wwj.core.app.entity.mapper;

import com.wwj.core.app.entity.Version;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface VersionMapper {
    List<Version> selectVersions(Map<String, Object> params);

    Version selectVersionById(Integer id);

    void insertVersion(Version version);

    void updateVersion(Version version);

    Version selectVersionByNo(@Param("versionNo") String versionNo, @Param("os") String os);
}
